import quest from "../utils/http";

export function RoleMenu() {
    return quest.get('/my/roleRoute')
}
export function adminData() {
    return quest.get('/my/admin')
}

export function setAdmin(id) {
    return quest.post('/my/admin',{ id })
}

export function cancleAdmin(id) {
    return quest.put('/my/admin',{ id })
}